﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Profile.aspx.cs" Inherits="EM.user.Profile" %>

<%@ Register Src="~/Common/Header.ascx" TagName="Header" TagPrefix="uc2" %>
<%@ Register Src="~/Common/PageName.ascx" TagName="PageName" TagPrefix="uc1" %>
<%@ Register Src="~/Common/Footer.ascx" TagName="Footer" TagPrefix="uc4" %>
<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link id="Link2" runat="server" href="~/css/master.css" rel="stylesheet" type="text/css" />
    <link  runat="server" id="linkcssbuttons" rel="stylesheet" href="~/css/buttons.css" type="text/css"/>
</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
                <td class="TdMainTop">
                    <uc2:Header id="Header1" runat="server"></uc2:Header>
                </td>
            </tr>
            <tr>
                <td class="TdMainContent" valign="top">
                    <table width="960px" height="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="TdPageName" colspan="2">
                                <uc1:PageName id="ucPageName" PAGEID="28" runat="server"></uc1:PageName>
                            </td>
                        </tr>
                        <tr>
                            <td id="TdMainRight" valign="top" width="100%">
                                <div id="ContentRight">
                                    <table class="MasterEditTable" cellpadding="0" cellspacing="0" border="0" width="400">
                                        <tr>
                                            <td style="width:200px;"><asp:Label ID="lblUSERCODE" runat="server" ></asp:Label>:</td>
                                            <td>
                                                <asp:TextBox ID="txtUSERCODE" runat="server" CssClass="EditinputRq" Width="200" Enabled="false"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvUSERCODE" runat="server" ValidationGroup="vg" ControlToValidate="txtUSERCODE">*</asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="lblUSERDESC" runat="server" ></asp:Label>:</td>
                                            <td>
                                                <asp:TextBox ID="txtUSERDESC" runat="server" CssClass="EditinputRq" Width="200"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvUSERDESC" runat="server" ValidationGroup="vg" ControlToValidate="txtUSERDESC">*</asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="lblOldPassword" runat="server" ></asp:Label>:</td>
                                            <td>
                                                <asp:TextBox ID="txtOldPassword" runat="server" TextMode="Password" CssClass="Editinput" Width="200"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvOldPassword" runat="server" ValidationGroup="vg" ControlToValidate="txtOldPassword" Enabled = "false">*</asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revOldPassword" ValidationGroup="vg" runat="server"  ControlToValidate="txtOldPassword" validationexpression="^([a-zA-Z0-9]*[.\-_@]*)*"> a-z A-Z 0-9 .-_@ </asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="lblPassword" runat="server" ></asp:Label>:</td>
                                            <td>
                                                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="Editinput" Width="200"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvpass" runat="server" ValidationGroup="vg" ControlToValidate="txtPassword">*</asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revPassword" ValidationGroup="vg" runat="server"  ControlToValidate="txtPassword" style="position:absolute" validationexpression="^([a-zA-Z0-9]*[.\-_@]*)*"> a-z A-Z 0-9 .-_@ </asp:RegularExpressionValidator>
                                                <asp:RegularExpressionValidator ID="revPassword2" ErrorMessage="Şifre En az 6 karekter olmalı" ValidationGroup="vg" runat="server"  ControlToValidate="txtPassword" style="position:absolute" validationexpression=".{6}.*"></asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="lblPassRepeat" runat="server" ></asp:Label>:</td>
                                            <td>
                                                <asp:TextBox ID="txtPassRepeat" runat="server" CssClass="Editinput" TextMode="Password" Width="200"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvPassRepeat" runat="server" ValidationGroup="vg" ControlToValidate="txtPassRepeat">*</asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revPassRepeat" ValidationGroup="vg" runat="server"  ControlToValidate="txtPassRepeat" validationexpression="^([a-zA-Z0-9]*[.\-_@]*)*"> a-z A-Z 0-9 .-_@ </asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="lblEmail" runat="server" ></asp:Label>:</td>
                                            <td>
                                                <asp:TextBox ID="txtEmail" runat="server" CssClass="EditinputRq" Width="200"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ValidationGroup="vg" ControlToValidate="txtEmail" >*</asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="revEmail" ValidationGroup="vg" runat="server"  ControlToValidate="txtEmail" ErrorMessage="Invalid e-mail address" Display="dynamic"  validationexpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                    </table> 
                                    <br />
                                    <div style="width:400px;">
                                        <asp:LinkButton ID="btnSave2" style="float:right;" CssClass="btn_left xp_ok" runat="server" OnClick="btnSave_Click" ValidationGroup="vg" >
                                            <strong class="btn_rigth_xp xp"><asp:Label ID="lblSave" runat="server">&nbsp</asp:Label></strong>
                                        </asp:LinkButton>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="vertical-align:bottom;" class="MasterFooter"><uc4:Footer id="Footer1" runat="server"></uc4:Footer></td>
            </tr>
        </table>
        
        <radA:RadAjaxManager ID="ajaxify" runat="server" EnableAJAX="true" > 
            <AjaxSettings>
                <radA:AjaxSetting AjaxControlID="btnSave2">
                </radA:AjaxSetting>
            </AjaxSettings>
        </radA:RadAjaxManager>
        
    </form>
</body>
</html>